package com.yezao.yzrouter

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.yezao.yzannotation.KtRouter
import com.yezao.yzrouter.YZRouter
@KtRouter(router = "xdf://main")
class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
    }


    fun jump(v: View?){
        YZRouter.goTo(this,"xdf://subPage")
    }
}